<!-- Content Header (Page header) -->
<section class="content-header">
    <h1>
        历史记录
        <small>查询服务器运行历史信息</small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
        <li class="active">历史记录</li>
    </ol>
</section>

<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">历史记录</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body">
                    <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap">
                        <div class="row">
                            <div class="col-sm-12">
                                <table id="histotyDataTable" class="table table-bordered table-hover dataTable" role="grid"
                                       aria-describedby="example2_info">
                                </table>
                            </div>
                        </div>
                    </div>
                    <!-- /.box-body -->
                </div>
                <!-- /.box -->

            </div>
            <!-- /.col -->
        </div>
    </div>
    <!-- /.row -->
</section>


<script type="text/javascript">
    $(function () {
        queryRuningRedcord();
    })

    function queryRuningRedcord() {
        $.ajax({
            type: 'POST',
            url: "/serverRunrecord/list",//路径
            success: function (data) {
                var dataString = eval(data);
                console.log(dataString)
               // createServerList(dataString);
                createRuningRedcord(dataString)
            }
        });
    }


</script>